package day05;

public class MethodDemo1 {
    public static void main(String[] args) {
        /*...*/

        say();
        say();
        say("zhangsan",25);
        say("lisi",66);
        System.out.println("--------");

    }

    public static void say(){
        System.out.println("大家好我叫yq，今年35岁了");
    }
    //写个name的
    public static void say(String name){
        System.out.println("大家好，我叫"+name+"今年35岁了");

    }
    public static void say(String name,int age){}
    public static void say(int age){ }
    public static void say(int age,String name){}
    //

}

